﻿#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLuaBase.lua_CSFunction;
#endif

using XLua;
using System.Collections.Generic;


namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class YoozooGameplayCityGlobalVariablesConfigWrap 
    {
        public static void __Register(RealStatePtr L)
        {
			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			System.Type type = typeof(Yoozoo.Gameplay.City.GlobalVariablesConfig);
			Utils.BeginObjectRegister(type, L, translator, 0, 0, 22, 22);
			
			
			
			Utils.RegisterFunc(L, Utils.GETTER_IDX, "cityRealAiTimeRange", _g_get_cityRealAiTimeRange);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "cityRealAiTimeRandom", _g_get_cityRealAiTimeRandom);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "cityRealAiTimeStep", _g_get_cityRealAiTimeStep);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "cityRealAiOutCityTimeRange", _g_get_cityRealAiOutCityTimeRange);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "cityRealAiOutCityTimeRandom", _g_get_cityRealAiOutCityTimeRandom);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "cityRealAiOutCityTimeStep", _g_get_cityRealAiOutCityTimeStep);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "incity_npc_ai_buswait_time_default", _g_get_incity_npc_ai_buswait_time_default);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "incity_npc_ai_downcar_num_limit", _g_get_incity_npc_ai_downcar_num_limit);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "incity_npc_ai_bushidetime_num_limit", _g_get_incity_npc_ai_bushidetime_num_limit);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "incity_npc_ai_incity_time", _g_get_incity_npc_ai_incity_time);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "incity_npc_ai_outcity_time", _g_get_incity_npc_ai_outcity_time);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "incity_npc_ai_npcnum_buscallnow", _g_get_incity_npc_ai_npcnum_buscallnow);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "incity_npc_ai_starttodownpoint_time", _g_get_incity_npc_ai_starttodownpoint_time);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "incity_npc_ai_downtouppoint_time", _g_get_incity_npc_ai_downtouppoint_time);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "city_operate_rubbish_pertime", _g_get_city_operate_rubbish_pertime);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "city_operate_rubbish_limit", _g_get_city_operate_rubbish_limit);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "city_operate_rubbish_trigger_basepro", _g_get_city_operate_rubbish_trigger_basepro);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "city_operate_dispute_pertime", _g_get_city_operate_dispute_pertime);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "city_operate_dispute_trigger_basepro", _g_get_city_operate_dispute_trigger_basepro);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "city_operate_fix_pertime", _g_get_city_operate_fix_pertime);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "city_operate_fix_limit", _g_get_city_operate_fix_limit);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "city_operate_fix_trigger_basepro", _g_get_city_operate_fix_trigger_basepro);
            
			Utils.RegisterFunc(L, Utils.SETTER_IDX, "cityRealAiTimeRange", _s_set_cityRealAiTimeRange);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "cityRealAiTimeRandom", _s_set_cityRealAiTimeRandom);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "cityRealAiTimeStep", _s_set_cityRealAiTimeStep);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "cityRealAiOutCityTimeRange", _s_set_cityRealAiOutCityTimeRange);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "cityRealAiOutCityTimeRandom", _s_set_cityRealAiOutCityTimeRandom);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "cityRealAiOutCityTimeStep", _s_set_cityRealAiOutCityTimeStep);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "incity_npc_ai_buswait_time_default", _s_set_incity_npc_ai_buswait_time_default);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "incity_npc_ai_downcar_num_limit", _s_set_incity_npc_ai_downcar_num_limit);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "incity_npc_ai_bushidetime_num_limit", _s_set_incity_npc_ai_bushidetime_num_limit);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "incity_npc_ai_incity_time", _s_set_incity_npc_ai_incity_time);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "incity_npc_ai_outcity_time", _s_set_incity_npc_ai_outcity_time);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "incity_npc_ai_npcnum_buscallnow", _s_set_incity_npc_ai_npcnum_buscallnow);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "incity_npc_ai_starttodownpoint_time", _s_set_incity_npc_ai_starttodownpoint_time);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "incity_npc_ai_downtouppoint_time", _s_set_incity_npc_ai_downtouppoint_time);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "city_operate_rubbish_pertime", _s_set_city_operate_rubbish_pertime);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "city_operate_rubbish_limit", _s_set_city_operate_rubbish_limit);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "city_operate_rubbish_trigger_basepro", _s_set_city_operate_rubbish_trigger_basepro);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "city_operate_dispute_pertime", _s_set_city_operate_dispute_pertime);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "city_operate_dispute_trigger_basepro", _s_set_city_operate_dispute_trigger_basepro);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "city_operate_fix_pertime", _s_set_city_operate_fix_pertime);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "city_operate_fix_limit", _s_set_city_operate_fix_limit);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "city_operate_fix_trigger_basepro", _s_set_city_operate_fix_trigger_basepro);
            
			
			Utils.EndObjectRegister(type, L, translator, null, null,
			    null, null, null);

		    Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
			
			
            
			
			
			
            Utils.RegisterFunc(L, Utils.CLS_IDX, "New", __CreateInstanceNew);
			Utils.EndClassRegister(type, L, translator);
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				
				if (LuaAPI.lua_gettop(L) == 1)
				{
				    translator.PushYoozooGameplayCityGlobalVariablesConfig(L, default(Yoozoo.Gameplay.City.GlobalVariablesConfig));
			        return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
			}
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.City.GlobalVariablesConfig constructor!");
            
        }

        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstanceNew(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				
				if (LuaAPI.lua_gettop(L) == 0)
				{
				    translator.PushYoozooGameplayCityGlobalVariablesConfig(L, default(Yoozoo.Gameplay.City.GlobalVariablesConfig));
			        return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
			}
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.City.GlobalVariablesConfig constructor!");
            
        }

        
		
        
		
        
        
        
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_cityRealAiTimeRange(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.cityRealAiTimeRange);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_cityRealAiTimeRandom(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.cityRealAiTimeRandom);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_cityRealAiTimeStep(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.cityRealAiTimeStep);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_cityRealAiOutCityTimeRange(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.cityRealAiOutCityTimeRange);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_cityRealAiOutCityTimeRandom(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.cityRealAiOutCityTimeRandom);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_cityRealAiOutCityTimeStep(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.cityRealAiOutCityTimeStep);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_incity_npc_ai_buswait_time_default(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.incity_npc_ai_buswait_time_default);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_incity_npc_ai_downcar_num_limit(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.incity_npc_ai_downcar_num_limit);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_incity_npc_ai_bushidetime_num_limit(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.incity_npc_ai_bushidetime_num_limit);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_incity_npc_ai_incity_time(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.incity_npc_ai_incity_time);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_incity_npc_ai_outcity_time(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.incity_npc_ai_outcity_time);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_incity_npc_ai_npcnum_buscallnow(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.incity_npc_ai_npcnum_buscallnow);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_incity_npc_ai_starttodownpoint_time(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.incity_npc_ai_starttodownpoint_time);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_incity_npc_ai_downtouppoint_time(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.incity_npc_ai_downtouppoint_time);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_city_operate_rubbish_pertime(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.city_operate_rubbish_pertime);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_city_operate_rubbish_limit(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.city_operate_rubbish_limit);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_city_operate_rubbish_trigger_basepro(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.city_operate_rubbish_trigger_basepro);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_city_operate_dispute_pertime(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.city_operate_dispute_pertime);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_city_operate_dispute_trigger_basepro(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.city_operate_dispute_trigger_basepro);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_city_operate_fix_pertime(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.city_operate_fix_pertime);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_city_operate_fix_limit(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.city_operate_fix_limit);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_city_operate_fix_trigger_basepro(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.city_operate_fix_trigger_basepro);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_cityRealAiTimeRange(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                gen_to_be_invoked.cityRealAiTimeRange = LuaAPI.xlua_tointeger(L, 2);
            
                translator.UpdateYoozooGameplayCityGlobalVariablesConfig(L, 1, gen_to_be_invoked);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_cityRealAiTimeRandom(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                gen_to_be_invoked.cityRealAiTimeRandom = LuaAPI.xlua_tointeger(L, 2);
            
                translator.UpdateYoozooGameplayCityGlobalVariablesConfig(L, 1, gen_to_be_invoked);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_cityRealAiTimeStep(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                gen_to_be_invoked.cityRealAiTimeStep = LuaAPI.xlua_tointeger(L, 2);
            
                translator.UpdateYoozooGameplayCityGlobalVariablesConfig(L, 1, gen_to_be_invoked);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_cityRealAiOutCityTimeRange(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                gen_to_be_invoked.cityRealAiOutCityTimeRange = LuaAPI.xlua_tointeger(L, 2);
            
                translator.UpdateYoozooGameplayCityGlobalVariablesConfig(L, 1, gen_to_be_invoked);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_cityRealAiOutCityTimeRandom(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                gen_to_be_invoked.cityRealAiOutCityTimeRandom = LuaAPI.xlua_tointeger(L, 2);
            
                translator.UpdateYoozooGameplayCityGlobalVariablesConfig(L, 1, gen_to_be_invoked);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_cityRealAiOutCityTimeStep(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                gen_to_be_invoked.cityRealAiOutCityTimeStep = LuaAPI.xlua_tointeger(L, 2);
            
                translator.UpdateYoozooGameplayCityGlobalVariablesConfig(L, 1, gen_to_be_invoked);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_incity_npc_ai_buswait_time_default(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                gen_to_be_invoked.incity_npc_ai_buswait_time_default = LuaAPI.xlua_tointeger(L, 2);
            
                translator.UpdateYoozooGameplayCityGlobalVariablesConfig(L, 1, gen_to_be_invoked);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_incity_npc_ai_downcar_num_limit(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                gen_to_be_invoked.incity_npc_ai_downcar_num_limit = LuaAPI.xlua_tointeger(L, 2);
            
                translator.UpdateYoozooGameplayCityGlobalVariablesConfig(L, 1, gen_to_be_invoked);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_incity_npc_ai_bushidetime_num_limit(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                gen_to_be_invoked.incity_npc_ai_bushidetime_num_limit = LuaAPI.xlua_tointeger(L, 2);
            
                translator.UpdateYoozooGameplayCityGlobalVariablesConfig(L, 1, gen_to_be_invoked);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_incity_npc_ai_incity_time(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                gen_to_be_invoked.incity_npc_ai_incity_time = LuaAPI.xlua_tointeger(L, 2);
            
                translator.UpdateYoozooGameplayCityGlobalVariablesConfig(L, 1, gen_to_be_invoked);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_incity_npc_ai_outcity_time(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                gen_to_be_invoked.incity_npc_ai_outcity_time = LuaAPI.xlua_tointeger(L, 2);
            
                translator.UpdateYoozooGameplayCityGlobalVariablesConfig(L, 1, gen_to_be_invoked);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_incity_npc_ai_npcnum_buscallnow(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                gen_to_be_invoked.incity_npc_ai_npcnum_buscallnow = LuaAPI.xlua_tointeger(L, 2);
            
                translator.UpdateYoozooGameplayCityGlobalVariablesConfig(L, 1, gen_to_be_invoked);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_incity_npc_ai_starttodownpoint_time(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                gen_to_be_invoked.incity_npc_ai_starttodownpoint_time = LuaAPI.xlua_tointeger(L, 2);
            
                translator.UpdateYoozooGameplayCityGlobalVariablesConfig(L, 1, gen_to_be_invoked);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_incity_npc_ai_downtouppoint_time(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                gen_to_be_invoked.incity_npc_ai_downtouppoint_time = LuaAPI.xlua_tointeger(L, 2);
            
                translator.UpdateYoozooGameplayCityGlobalVariablesConfig(L, 1, gen_to_be_invoked);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_city_operate_rubbish_pertime(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                gen_to_be_invoked.city_operate_rubbish_pertime = LuaAPI.xlua_tointeger(L, 2);
            
                translator.UpdateYoozooGameplayCityGlobalVariablesConfig(L, 1, gen_to_be_invoked);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_city_operate_rubbish_limit(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                gen_to_be_invoked.city_operate_rubbish_limit = LuaAPI.xlua_tointeger(L, 2);
            
                translator.UpdateYoozooGameplayCityGlobalVariablesConfig(L, 1, gen_to_be_invoked);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_city_operate_rubbish_trigger_basepro(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                gen_to_be_invoked.city_operate_rubbish_trigger_basepro = LuaAPI.xlua_tointeger(L, 2);
            
                translator.UpdateYoozooGameplayCityGlobalVariablesConfig(L, 1, gen_to_be_invoked);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_city_operate_dispute_pertime(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                gen_to_be_invoked.city_operate_dispute_pertime = LuaAPI.xlua_tointeger(L, 2);
            
                translator.UpdateYoozooGameplayCityGlobalVariablesConfig(L, 1, gen_to_be_invoked);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_city_operate_dispute_trigger_basepro(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                gen_to_be_invoked.city_operate_dispute_trigger_basepro = LuaAPI.xlua_tointeger(L, 2);
            
                translator.UpdateYoozooGameplayCityGlobalVariablesConfig(L, 1, gen_to_be_invoked);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_city_operate_fix_pertime(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                gen_to_be_invoked.city_operate_fix_pertime = LuaAPI.xlua_tointeger(L, 2);
            
                translator.UpdateYoozooGameplayCityGlobalVariablesConfig(L, 1, gen_to_be_invoked);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_city_operate_fix_limit(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                gen_to_be_invoked.city_operate_fix_limit = LuaAPI.xlua_tointeger(L, 2);
            
                translator.UpdateYoozooGameplayCityGlobalVariablesConfig(L, 1, gen_to_be_invoked);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_city_operate_fix_trigger_basepro(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.GlobalVariablesConfig gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
                gen_to_be_invoked.city_operate_fix_trigger_basepro = LuaAPI.xlua_tointeger(L, 2);
            
                translator.UpdateYoozooGameplayCityGlobalVariablesConfig(L, 1, gen_to_be_invoked);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
		
		
		
		
    }
}
